using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using PlugNT.Safe;

using PlugNT.Cms.Custom;
using PlugNT.Cms.Model;

namespace PlugNT.Cms.BLL
{
    public class EmailTemplet
    {


        private static readonly PlugNT.Cms.DAL.EmailTemplet dal = new PlugNT.Cms.DAL.EmailTemplet();

        public static string GetTableName()
        {
            return PlugNT.Cms.DAL.EmailTemplet.currTableName;
        }







        public EmailTempletInfo GetEmailTempletInfo(int id)
        {
            return dal.GetEmailTempletInfo(id);

        }







        public bool Add(EmailTempletInfo model)
        {
            return dal.Add(model);
        }






        public bool Update(EmailTempletInfo model)
        {
            return dal.Update(model);
        }






        public bool Delete(int id)
        {
            return dal.Delete(id);
        }







        public DataTable GetList()
        {
            return dal.GetList();
        }


    }
}

